package com.caval.service;

import com.caval.bean.ShoppingCart;

import java.util.List;
import java.util.Map;

public interface CartService {
    //获取当前用户的购物车
    List<ShoppingCart> getCartList(int user_id);

    //添加到购物车
    String addtoCart(int user_id,int game_id);

    //移出购物车
    String outofCart(int user_id,int game_id);

    boolean gameExist(Map<String,Object> map);
}
